package com.guigu.limeng.mapper;

import com.guigu.limeng.pojo.Mdesignprocedure;

import java.util.List;

public interface MdesignprocedureMapper {
    int deleteByPrimaryKey(Integer id);
    int insert(Mdesignprocedure record);
    int insertSelective(Mdesignprocedure record);
    Mdesignprocedure selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(Mdesignprocedure record);
    int updateByPrimaryKey(Mdesignprocedure record);
    Mdesignprocedure MdesignprocedureWZY_cha(String id);

    // limeng
    //添加
    int AddMdesignprocedure(Mdesignprocedure mdesignprocedure);
    //显示
    List<Mdesignprocedure> showMdeure();
    //把审核标志改为审核通过
    int upBySHBZ(Mdesignprocedure mdesignprocedure);
    //查询
    List<Mdesignprocedure> ChaXun();
    //变更
    List<Mdesignprocedure> PageBianGeng();
    //（物料）根据审核标志已通过,工序物料设计未设计查询
    List<Mdesignprocedure> findWuLiao();
    //提交后把产品生产工序表中的工序物料设计标志改为已提交
    int updaByWuLiao(String productid);

    List<Mdesignprocedure> LiMengMdesignprocedureSH();
    List<Mdesignprocedure> LiMengUpDateMdesignprocedureCha();
}